![]() | ![]() | ![]() | ![]() | ![]() |
Starting in the SAS® 9.4M7 (TS1M7) release, when you use a backslash (\) as the basis argument in the DATDIF() function, the SAS log then displays information that is similar to the following:
1 data a;
2 x=datdif(today(),today(),'act\act');
3 run;
NOTE: Invalid argument to function DATDIF(22517,22517,'act\act') at line 2 column 4.
x=. _ERROR_=1 _N_=1
To circumvent the problem, use the forward slash (/) instead.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | Base SAS | z/OS | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |
z/OS 64-bit | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 | ||
Microsoft® Windows® for x64 | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 | ||
64-bit Enabled AIX | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 | ||
64-bit Enabled Solaris | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 | ||
HP-UX IPF | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 | ||
Linux for x64 | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 | ||
Solaris for x64 | 9.4_M7 | 9.4_M7 | 9.4 TS1M7 | 9.4 TS1M7 |